index.js ➔ ... ➔ ???   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 6
Bugs 0 Features 0
Metric Value
cc 1
c 6
b 0
f 0
nc 1
dl 0
loc 3
rs 10
nop 0
1
import {
2
	initAutoMetrics,
3
	getMetricsInstance,
4
	tagService,
5
	metricsAction,
6
	metricsOperation,
7
	toMiddleware,
8
	enhancedRender,
9
	compose,
10
} from '../index';
11
12
describe('n-auto-metrics exports', () => {
13
	it('initAutoMetrics', () => {
14
		expect(typeof initAutoMetrics).toBe('function');
15
	});
16
17
	it('getMetricsInstance', () => {
18
		expect(typeof getMetricsInstance).toBe('function');
19
	});
20
21
	it('tagService', () => {
22
		expect(typeof tagService).toBe('function');
23
	});
24
25
	it('metricsAction', () => {
26
		expect(typeof metricsAction).toBe('function');
27
	});
28
29
	it('metricsOperation', () => {
30
		expect(typeof metricsOperation).toBe('function');
31
	});
32
33
	it('toMiddleware', () => {
34
		expect(typeof toMiddleware).toBe('function');
35
	});
36
37
	it('enhancedRender', () => {
38
		expect(typeof enhancedRender).toBe('function');
39
	});
40
41
	it('compose', () => {
42
		expect(typeof compose).toBe('function');
43
	});
44
});
45